var mongoose = require("mongoose");
var Schema = mongoose.Schema;

var ArticlePageSchema = new Schema({
	_id: {
		type: String,
		required: true
	},
	//单面名称
	name: {
		type: String
	},
	//别名
	alias: {
		type: String
	},
	//单页内容
	content:String
});

var ArticlePage = mongoose.model('page',ArticlePageSchema,'page');

module.exports = ArticlePage;